package StudyCode.summary.Basic.mymath;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CalculatorNextUp {
	public static void main(String[] args) {
		System.out.println("1和正无穷大之间与 1 相邻的浮点数值是:" + Math.nextUp(1));
		System.out.println("5.91f和正无穷大之间与 5.91f 相邻的浮点数值是:" + Math.nextUp(5.91f));
		System.out.println("9.9和正无穷大之间与 9.9相邻的浮点数值是::" + Math.nextUp(9.9));
	}
}
